package com.ruoyi.supplier.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商信息对象 supplier_info
 * 
 * @author ruoyi
 * @date 2022-08-23
 */
public class SupplierInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String supplierNo;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 供应商类型 */
    @Excel(name = "供应商类型")
    private String supplierType;

    /** 社会信用代码 */
    @Excel(name = "社会信用代码")
    private String socialCreditCode;

    /** 法人 */
    @Excel(name = "法人")
    private String legalPerson;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 合作关系等级 */
    @Excel(name = "合作关系等级")
    private String partnershipLevel;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 区县 */
    @Excel(name = "区县")
    private String county;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplierNo(String supplierNo) 
    {
        this.supplierNo = supplierNo;
    }

    public String getSupplierNo() 
    {
        return supplierNo;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setSupplierType(String supplierType) 
    {
        this.supplierType = supplierType;
    }

    public String getSupplierType() 
    {
        return supplierType;
    }
    public void setSocialCreditCode(String socialCreditCode) 
    {
        this.socialCreditCode = socialCreditCode;
    }

    public String getSocialCreditCode() 
    {
        return socialCreditCode;
    }
    public void setLegalPerson(String legalPerson) 
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson() 
    {
        return legalPerson;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPartnershipLevel(String partnershipLevel) 
    {
        this.partnershipLevel = partnershipLevel;
    }

    public String getPartnershipLevel() 
    {
        return partnershipLevel;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setCounty(String county) 
    {
        this.county = county;
    }

    public String getCounty() 
    {
        return county;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierNo", getSupplierNo())
            .append("supplierName", getSupplierName())
            .append("supplierType", getSupplierType())
            .append("socialCreditCode", getSocialCreditCode())
            .append("legalPerson", getLegalPerson())
            .append("contacts", getContacts())
            .append("phone", getPhone())
            .append("partnershipLevel", getPartnershipLevel())
            .append("address", getAddress())
            .append("province", getProvince())
            .append("city", getCity())
            .append("county", getCounty())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("comment", getComment())
            .toString();
    }
}
